package active.visitor;

public class Success extends Action {
    @Override
    public void getManResult(Person.Man man) {
        System.out.println("男人的评价是成功");
    }

    @Override
    public void getWomanResult(Person.Woman woman) {
        System.out.println("女人的评价是成功");
    }
}
